class Task(object):
    def __init__(self, name, mount):
        self.name = name
        self.mount = mount

class MountPoint(object):
    def __init__(self, path, src, fstype):
        self.path = path
        self.src = src
        self.fstype = fstype
        self.state = 'present'

def create(fstype, path, vg, lv):
    mount = MountPoint(path, '/dev/'+vg+'/'+lv, fstype)
    task = Task("Create Mount Point "+path, vars(mount))

    return vars(task)
